<?php
/**
 *
 * @since 30.12.2011
 * @author Akulov Denis
 */
class K_Logger {

    const PATH_TO_LOGS = '../../logs/';


    /**
     * @var array
     */
    private $_logs = array();


    public function getInstance($name) {
        if (empty($this->_logs[$name])) {
            $this->_logs[$name] = new K_Logger_Item($name, time());
        }

        return $this->_logs[$name];
    }
}